<h3 xmlns="http://www.w3.org/1999/html">Lista konobara</h3>
<button class="btn btn-success" ng-click="izmeniKonobara('novi')" data-toggle="modal" href="#editModal">
    <i class="icon-calendar icon-white"></i>&nbsp;Kreiraj novog konobara</button>
<table class='table table-striped'>
    <thead>
    <tr>
        <th>Konobar</th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
    </tr>
    </thead>
    <tbody>
    <tr style="height: 45px;"><td><b>Ime</b></td><td><b>Prezime</b></td><td><b>Godina rođenja</b></td><td><b>Mesto rođenja</b></td><td><b>Korisničko ime</b></td><td><b>Korisnička šifra</b></td><td><b></b></td></tr>
    <tr ng-repeat='konobar in konobari | orderBy:order'>
        <td>{{konobar.ime}}</td>
        <td>{{konobar.prezime}}</td>
        <td>{{konobar.godinaRodjenja}}</td>
        <td>{{konobar.mestoRodjenja}}</td>
        <td>{{konobar.korisnickoIme}}</td>
        <td>{{konobar.korisnickaSifra}}</td>
        <td><button role='button' class='btn btn-warning' ng-click="izmeniKonobara(konobar);" data-toggle="modal" href="#editModal">Izmeni</button></td>
		<td><button role='button' class='btn btn-default' ng-click="izmeniKonobara(konobar);" data-toggle="modal" href="#editModal">Podaci</button></td>
    </tr>
    </tbody>
</table>
<div class="modal fade"  tabindex="-1" role="dialog" ng-include="'view/zaposleni-detalji.html'" id="editModal" aria-hidden="true"></div>
</div>